| sys-service supports 18 commands: | Services: pos eve edp status route sensor msg cfg asset mod map sys tftp eng tag rec aprec test index |
| /epe/sys/configget | Input: | Output: | |
|
Description:
Lists current configuration, sorted by key name.
Role Required:
viewer
|
CONFIG.* - [String] configuration parameters
|
||
| /epe/sys/diagnose | Input: | Output: | |
|
Description:
Reports the status of the RTLS Controller. Performs a number of system tests and reports their results. First in the reply is result with an errorcount. If errorcount is zero, all is ok. After the result are descriptions of system tests.
Role Required:
viewer
|
RESULT.testcount - [int] number of test that were performed
RESULT.errorcount - [int] number of errors TEST.name - [String] test name TEST.description - [String] test description TEST.error - [String] error reason for failed test TEST.link - [String] optional link with more information TEST.linkinfo - [String] optional link description |
||
| /epe/sys/errorcodelist | Input: | Output: | |
|
Description:
Lists all error codes. Example 1: List all error codes.
Role Required:
viewer
|
ERRORCODE.code - [int] error code
ERRORCODE.description - [String] error description |
||
| /epe/sys/licenseget POST version | Input: | Output: | |
|
Description:
Gets information from the current license. Example 1: Get all license attributes. Example 2: Get license expiration date.
Role Required:
viewer
|
key (optional) - [String] name of the license attribute
|
LICENSE.LicenseFileCount - [int] number of licenses
LICENSE.* - [String] license attributes |
|
| /epe/sys/loggetlevel POST version | Input: | Output: | |
|
Description:
Returns current log categories and their levels. If category is not specified, returns only categories that set their own levels instead of inheriting. Example 1: List all epe-categories. Example 2: List all categories, including those that inherit their level from parent. Large list.
Role Required:
viewer
|
category (optional) - [String] category prefix; set to '*' to list all categories
|
LOGGER.name - [String] logger name
LOGGER.level - [String] logger level, such as WARN LOGGER.level-effective - [String] effective logger level |
|
| /epe/sys/logread POST version | Input: | Output: | |
|
Description:
Reads log file content. Most recent log line is at the bottom of the list. If size is not specified, returns 100K worth of logs. Example 1: Read only last 2000 bytes of logs. Example 2: Read only last 10000 bytes of logs.
Role Required:
viewer
|
size (optional) - [int] amount of logs to be read, in bytes; default is 100000
|
LOGITEM.date - [String] timestamp of the log message
LOGITEM.msg - [String] log message |
|
| /epe/sys/logsetlevel POST version | Input: | Output: | |
|
Description:
Sets log level. Returns the logger that was set. Example 1: Set level of epe-category (and all categories underneath) to INFO. Example 2: Set epe.api to INFO. (Means that all HTTP requests are logged.) Example 3: Set epe.api to DEBUG. (Means that all HTTP requests and replies are logged.) Example 4: Clear level of epe.api. Example 5: Set root category level to ERROR.
Role Required:
poweruser
|
category (required) - [String] name of category
level (required) - [String] level, one of: OFF, FATAL, ERROR, WARN, INFO, DEBUG or empty; empty string clears level |
LOGGER.name - [String] logger name
LOGGER.level - [String] logger level, such as WARN LOGGER.level-effective - [String] effective logger level |
|
| /epe/sys/rolelist POST version | Input: | Output: | |
|
Description:
Lists all user roles. Ordered by name. Example 1: List all roles. Example 2: View role with id 1
Role Required:
viewer
|
roleid (optional) - [long] role id
|
ROLE.roleid - [long] role id
ROLE.name - [String] role name ROLE.description - [String] role description ROLE.createdon - [String] create time of the role ROLE.modifiedon - [String] modify time of the role |
|
| /epe/sys/snmpctrl POST version | Input: | Output: | |
|
Description:
Starts and stops SNMP agent. Example 1: Start SNMP server Example 2: Stop SNMP server
Role Required:
poweruser
|
action (required) - [String] start or stop
|
||
| /epe/sys/threadlist POST version | Input: | Output: | |
|
Description:
Lists all running threads or threads that are halted. List is sorted based on cputime; most cpu time taken thread first. This call exists for troubleshooting and performance diagnosing. Example 1: List only halted threads
Role Required:
viewer
|
halted (optional) - [int] boolean: 0 or 1
|
THREAD.id - [long] thread id
THREAD.name - [String] thread name THREAD.state - [String] thread state, such as RUNNABLE THREAD.cputime - [long] total CPU time of thread in milliseconds |
|
| /epe/sys/userbrowse | Input: | Output: | |
|
Description:
Browse users. Example 1: Show currently logged in user.
Role Required:
viewer
|
USER.useruid - [String] user UID
USER.name - [String] user name USER.rolename - [String] role name |
||
| /epe/sys/usercreate POST version | Input: | Output: | |
|
Description:
Creates a new user. Example 1: Create user myuser with password xx, and havig user role.
Role Required:
administrator
|
name (required) - [String] username
password (required) - [String] password role (required) - [String] Name the user role. Possible values are administrator, poweruser, tagoperator and viewer. description (optional) - [String] description organization (optional) - [String] organization |
USER.userid - [long] user id
USER.useruid - [String] user UID USER.name - [String] user name USER.description - [String] user description USER.createdon - [String] create time of the user USER.modifiedon - [String] modify time of the user USER.roleid - [long] role id USER.rolename - [String] role name |
|
| /epe/sys/userdelete POST version | Input: | Output: | |
|
Description:
Deletes a user. User cannot delete her/himself. Example 1: Delete user with id 1.
Role Required:
administrator
|
userid (optional) - [long] user id
useruid (optional) - [String] user UID |
||
| /epe/sys/useredit POST version | Input: | Output: | |
|
Description:
Changes user properties. Example 1: Create user myuser with password xx, and belonging to user role with id 1.
Role Required:
administrator
|
userid (optional) - [long] user id
useruid (optional) - [String] user UID name (optional) - [String] username password (optional) - [String] password description (optional) - [String] description role (optional) - [String] name of the user role. Possible values are administrator, poweruser, tagoperator and viewer. organization (optional) - [String] organization |
USER.userid - [long] user id
USER.useruid - [String] user UID USER.name - [String] user name USER.description - [String] user description USER.createdon - [String] create time of the user USER.modifiedon - [String] modify time of the user USER.roleid - [long] role id USER.rolename - [String] role name |
|
| /epe/sys/userlist POST version | Input: | Output: | |
|
Description:
Lists all users. Example 1: List all users. Example 2: View user with id 1 Example 3: View user with uid g3720A3C8C43BFC41A0A46D506E647A32 Example 4: List first 10 users whose name match search criteria
Role Required:
viewer
|
userid (optional) - [long] user id
useruid (optional) - [String] user UID maxnum (optional) - [int] maximum number of users to list, default 100 search (optional) - [String] list users matching search string |
USER.userid - [long] user id
USER.useruid - [String] user UID USER.name - [String] user name USER.description - [String] user description USER.createdon - [String] create time of the user USER.modifiedon - [String] modify time of the user USER.roleid - [long] role id USER.rolename - [String] role name |
|
| /epe/sys/_clear | Input: | Output: | |
|
Description:
SPECIAL. Resets all service specific counters.
Role Required:
poweruser
|
|||
| /epe/sys/_list POST version | Input: | Output: | |
|
Description:
SPECIAL. Lists the available commands, their arguments, responses, required roles, call counters and optional help descriptions.
Role Required:
|
help (optional) - [int] set to 1 to get also HTML help description of the commands. Default is 0.
|
COMMAND.name - [String] command name
COMMAND.arg - [String] mandatory argument COMMAND.optarg - [String] optional argument COMMAND.response - [String] response field COMMAND.internal - [int] 1 for internal command COMMAND.role - [String] required role COMMAND.callcount - [int] number of calls COMMAND.callcountinternal - [int] number of internal calls COMMAND.callcountfailure - [int] number of failed calls COMMAND.htmlhelp - [String] command description in HTML format |
|
| /epe/sys/_status | Input: | Output: | |
|
Description:
SPECIAL. Returns status information about the service.
Role Required:
viewer
|
STATUS.callcount - [int] total number of calls for the service
STATUS.callcountinternal - [int] total number of internal calls for the service STATUS.callcountfailure - [int] total number of failed calls for the service STATUS.commandcount - [int] number of commands in service STATUS.* - [String] service specific status information |
||
(The data in this page was generated from /epe/sys/_list?help=1)